import { request } from '../../request';


export function getCategories() {
    return request({
        url: `/category/list`,
        method: 'post'
      })
}


export function getCategories() {
    return axios.post("/category/list")
}

export function getCategoryArticles(data) {
    return axios.post("/category/article/list", data)
}


